package com.geek.water.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.geek.water.entity.User;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends MPJBaseMapper<User> {
    @Select("SELECT * FROM user WHERE mobile = #{mobile}")
    User findByMobile(@Param("mobile") String mobile);
}
